<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="jquery-1.12.0.min.js"></script>
<style type="text/css">
	#test{
		width: 300px;
	}

</style>
</head>
<body>

<button id="test" class="x">test</button>
<p class="x">sadgdga</p>
<!-- <table border="1" contenteditable="true" >
	<tr>
		<td>studentId</td>
		<td>122132</td>
	</tr>
	<tr>
		<td>xh</td>
		<td>012</td>
	</tr>
	<tr>
		<td>sname</td>
		<td>刘娜</td>
	</tr>
	<tr>
		<td>sex</td>
		<td>女</td>
	</tr>

</table> -->

<script type="text/javascript">
	$("#test").on("click",function(){
		$.post("test3",function(data){
			alert(data.sname);
			});
	});


</script>


</body>
</html>